package com.spg.apidoc.resource;

import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

@ApiModel(value = "分页响应输入数据")  
@JsonSerialize
@XmlRootElement
@JsonIgnoreProperties(ignoreUnknown = true) 
public class PageGetParam {

	@ApiModelProperty(value = "每页显示行数", required = true) 
	private int length;
	@ApiModelProperty(value = "开始显示记录的行数", required = true) 
	private int start;
	@ApiModelProperty(value = "查询页码", required = true) 
	private int page;
	@ApiModelProperty(value = "查询标识", required = true) 
	private String draw;
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public String getDraw() {
		return draw;
	}
	public void setDraw(String draw) {
		this.draw = draw;
	}
	
	
}
